// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) 

package com.yoyo.lib.utilities;

public class DisplayUtil {

    public DisplayUtil() {
    }

    public static int dip2px(float f, float f1) {
        return ( int ) (0.5F + f * f1);
    }

    public static int px2dip(float f, float f1) {
        return ( int ) (0.5F + f / f1);
    }

    public static int px2sp(float f, float f1) {
        return ( int ) (0.5F + f / f1);
    }

    public static int sp2px(float f, float f1) {
        return ( int ) (0.5F + f * f1);
    }
}
